//
//  CCDebug.h
//  Party
//
//  Created by its on 15/3/31.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <Foundation/Foundation.h>

#define RANDOM_COLOR(x) x.backgroundColor = randomColor();

static UIColor* randomColor() {
    float r = (arc4random() % 256 / 256.0 );
    float g = (arc4random() % 256 / 256.0 );
    float b = (arc4random() % 256 / 256.0 );
    return [UIColor colorWithRed:r green:g blue:b alpha:1];
}

#define VIEW(x) x
#define CSS(x) x